<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NumCpp: nc::DataCube&lt; dtype &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NumCpp
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">A C++ implementation of the Python Numpy library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnc_1_1_data_cube.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">nc::DataCube&lt; dtype &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Convenience container for holding a uniform array of NdArrays.  
 <a href="classnc_1_1_data_cube.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_data_cube_8hpp_source.html">DataCube.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aaade9ff59e3fe56b9b36c9c3883f6d3e"><td class="memItemLeft" align="right" valign="top">typedef std::deque&lt; <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &gt;::<a class="el" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a></td></tr>
<tr class="separator:aaade9ff59e3fe56b9b36c9c3883f6d3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfed19a7fda0e5d4742ae4818c338a99"><td class="memItemLeft" align="right" valign="top">typedef std::deque&lt; <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &gt;::<a class="el" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a></td></tr>
<tr class="separator:adfed19a7fda0e5d4742ae4818c338a99"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8224b613a7c87a16e06ef08d6f90926e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a8224b613a7c87a16e06ef08d6f90926e">DataCube</a> ()=default</td></tr>
<tr class="separator:a8224b613a7c87a16e06ef08d6f90926e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ae08af82b0553d2b294286bdf06703b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a7ae08af82b0553d2b294286bdf06703b">DataCube</a> (<a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inSize)</td></tr>
<tr class="separator:a7ae08af82b0553d2b294286bdf06703b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8925f65b525c2b4fe04c711851b66828"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a8925f65b525c2b4fe04c711851b66828">at</a> (<a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inIndex)</td></tr>
<tr class="separator:a8925f65b525c2b4fe04c711851b66828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab78c6fc396ea087819cdef43f316da4e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#ab78c6fc396ea087819cdef43f316da4e">at</a> (<a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inIndex) const</td></tr>
<tr class="separator:ab78c6fc396ea087819cdef43f316da4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f746c56a1cf6a47747768a14e9383fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a5f746c56a1cf6a47747768a14e9383fc">back</a> ()</td></tr>
<tr class="separator:a5f746c56a1cf6a47747768a14e9383fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e97e7afdace6395e82b44d2c70a7014"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a8e97e7afdace6395e82b44d2c70a7014">begin</a> ()</td></tr>
<tr class="separator:a8e97e7afdace6395e82b44d2c70a7014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff248af13543b07f8755a645e2511506"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#aff248af13543b07f8755a645e2511506">cbegin</a> () const</td></tr>
<tr class="separator:aff248af13543b07f8755a645e2511506"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9484ba42f739c5a4e0a32c0d8f916ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#af9484ba42f739c5a4e0a32c0d8f916ca">cend</a> () const</td></tr>
<tr class="separator:af9484ba42f739c5a4e0a32c0d8f916ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbaa9ebba302183cae3563c9eb371ee3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#abbaa9ebba302183cae3563c9eb371ee3">dump</a> (const std::string &amp;inFilename) const</td></tr>
<tr class="separator:abbaa9ebba302183cae3563c9eb371ee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b25455af3a2845f426af68d249c6ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a65b25455af3a2845f426af68d249c6ae">end</a> ()</td></tr>
<tr class="separator:a65b25455af3a2845f426af68d249c6ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a007b4c69b145e15faa40d8c3be4d36ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a007b4c69b145e15faa40d8c3be4d36ba">front</a> ()</td></tr>
<tr class="separator:a007b4c69b145e15faa40d8c3be4d36ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac569e0c62a9e5cbf21228b85128a53a5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#ac569e0c62a9e5cbf21228b85128a53a5">isempty</a> () noexcept</td></tr>
<tr class="separator:ac569e0c62a9e5cbf21228b85128a53a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af85d4c43f1ced174000d1f1f2117d445"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#af85d4c43f1ced174000d1f1f2117d445">operator[]</a> (<a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inIndex)</td></tr>
<tr class="separator:af85d4c43f1ced174000d1f1f2117d445"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae23b9d13c65a75d269e34b7952ea8666"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#ae23b9d13c65a75d269e34b7952ea8666">operator[]</a> (<a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inIndex) const</td></tr>
<tr class="separator:ae23b9d13c65a75d269e34b7952ea8666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f17538e077a9eefdece159adb6673a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a8f17538e077a9eefdece159adb6673a1">pop_back</a> ()</td></tr>
<tr class="separator:a8f17538e077a9eefdece159adb6673a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48dc4f5dad4f94104ce545ad24ea13ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a48dc4f5dad4f94104ce545ad24ea13ac">pop_front</a> ()</td></tr>
<tr class="separator:a48dc4f5dad4f94104ce545ad24ea13ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00f652afe3e8734f7d0707b12afd6a65"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a00f652afe3e8734f7d0707b12afd6a65">push_back</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;inArray)</td></tr>
<tr class="separator:a00f652afe3e8734f7d0707b12afd6a65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a320959d355bddd6993d851cf67a0f88d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a320959d355bddd6993d851cf67a0f88d">push_front</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;inArray)</td></tr>
<tr class="separator:a320959d355bddd6993d851cf67a0f88d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e7e4ce08e0c57abb661a8f95192173e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a1e7e4ce08e0c57abb661a8f95192173e">shape</a> () const noexcept</td></tr>
<tr class="separator:a1e7e4ce08e0c57abb661a8f95192173e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36da58aa8d2ba848746e744e82b87942"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_data_cube.html#a36da58aa8d2ba848746e744e82b87942">size</a> () const noexcept</td></tr>
<tr class="separator:a36da58aa8d2ba848746e744e82b87942"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename dtype&gt;<br />
class nc::DataCube&lt; dtype &gt;</h3>

<p>Convenience container for holding a uniform array of NdArrays. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aaade9ff59e3fe56b9b36c9c3883f6d3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaade9ff59e3fe56b9b36c9c3883f6d3e">&#9670;&nbsp;</a></span>const_iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::deque&lt;<a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; &gt;::<a class="el" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a> <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::<a class="el" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adfed19a7fda0e5d4742ae4818c338a99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfed19a7fda0e5d4742ae4818c338a99">&#9670;&nbsp;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::deque&lt;<a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; &gt;::<a class="el" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a> <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::<a class="el" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8224b613a7c87a16e06ef08d6f90926e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8224b613a7c87a16e06ef08d6f90926e">&#9670;&nbsp;</a></span>DataCube() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::<a class="el" href="classnc_1_1_data_cube.html">DataCube</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Default Constructor </p>

</div>
</div>
<a id="a7ae08af82b0553d2b294286bdf06703b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ae08af82b0553d2b294286bdf06703b">&#9670;&nbsp;</a></span>DataCube() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::<a class="el" href="classnc_1_1_data_cube.html">DataCube</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td>
          <td class="paramname"><em>inSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor, preallocates to the input size</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inSize</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8925f65b525c2b4fe04c711851b66828"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8925f65b525c2b4fe04c711851b66828">&#9670;&nbsp;</a></span>at() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::at </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td>
          <td class="paramname"><em>inIndex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Access method, with bounds checking</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inIndex</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library. ">NdArray</a> </dd></dl>

</div>
</div>
<a id="ab78c6fc396ea087819cdef43f316da4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab78c6fc396ea087819cdef43f316da4e">&#9670;&nbsp;</a></span>at() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::at </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td>
          <td class="paramname"><em>inIndex</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Const access method, with bounds checking</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inIndex</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library. ">NdArray</a> </dd></dl>

</div>
</div>
<a id="a5f746c56a1cf6a47747768a14e9383fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f746c56a1cf6a47747768a14e9383fc">&#9670;&nbsp;</a></span>back()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::back </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the last element of the array</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library. ">NdArray</a>&amp; </dd></dl>

</div>
</div>
<a id="a8e97e7afdace6395e82b44d2c70a7014"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e97e7afdace6395e82b44d2c70a7014">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a> <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns an iterator to the beginning of the container</p>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="aff248af13543b07f8755a645e2511506"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff248af13543b07f8755a645e2511506">&#9670;&nbsp;</a></span>cbegin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a> <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::cbegin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns a const_iterator to the beginning of the container</p>
<dl class="section return"><dt>Returns</dt><dd>const_iterator </dd></dl>

</div>
</div>
<a id="af9484ba42f739c5a4e0a32c0d8f916ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9484ba42f739c5a4e0a32c0d8f916ca">&#9670;&nbsp;</a></span>cend()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a> <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::cend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns a const_iterator to 1 past the end of the container</p>
<dl class="section return"><dt>Returns</dt><dd>const_iterator </dd></dl>

</div>
</div>
<a id="abbaa9ebba302183cae3563c9eb371ee3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbaa9ebba302183cae3563c9eb371ee3">&#9670;&nbsp;</a></span>dump()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::dump </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>inFilename</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Outputs the <a class="el" href="classnc_1_1_data_cube.html" title="Convenience container for holding a uniform array of NdArrays. ">DataCube</a> as a .bin file</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inFilename</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a65b25455af3a2845f426af68d249c6ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65b25455af3a2845f426af68d249c6ae">&#9670;&nbsp;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a> <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns an iterator to 1 past the end of the container</p>
<dl class="section return"><dt>Returns</dt><dd>iterator </dd></dl>

</div>
</div>
<a id="a007b4c69b145e15faa40d8c3be4d36ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a007b4c69b145e15faa40d8c3be4d36ba">&#9670;&nbsp;</a></span>front()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::front </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>returns a reference to the first element of the array</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library. ">NdArray</a>&amp; </dd></dl>

</div>
</div>
<a id="ac569e0c62a9e5cbf21228b85128a53a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac569e0c62a9e5cbf21228b85128a53a5">&#9670;&nbsp;</a></span>isempty()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::isempty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Tests whether or not the container is empty</p>
<dl class="section return"><dt>Returns</dt><dd>bool </dd></dl>

</div>
</div>
<a id="af85d4c43f1ced174000d1f1f2117d445"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af85d4c43f1ced174000d1f1f2117d445">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td>
          <td class="paramname"><em>inIndex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Access operator, no bounds checking</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inIndex</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library. ">NdArray</a> </dd></dl>

</div>
</div>
<a id="ae23b9d13c65a75d269e34b7952ea8666"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae23b9d13c65a75d269e34b7952ea8666">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td>
          <td class="paramname"><em>inIndex</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Const access operator, no bounds checking</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inIndex</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library. ">NdArray</a> </dd></dl>

</div>
</div>
<a id="a8f17538e077a9eefdece159adb6673a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f17538e077a9eefdece159adb6673a1">&#9670;&nbsp;</a></span>pop_back()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::pop_back </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Removes the last element in the container </p>

</div>
</div>
<a id="a48dc4f5dad4f94104ce545ad24ea13ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48dc4f5dad4f94104ce545ad24ea13ac">&#9670;&nbsp;</a></span>pop_front()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::pop_front </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Removes the first element in the container </p>

</div>
</div>
<a id="a00f652afe3e8734f7d0707b12afd6a65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00f652afe3e8734f7d0707b12afd6a65">&#9670;&nbsp;</a></span>push_back()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::push_back </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inArray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Adds a new element at the end of the container</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArray</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a320959d355bddd6993d851cf67a0f88d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a320959d355bddd6993d851cf67a0f88d">&#9670;&nbsp;</a></span>push_front()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::push_front </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inArray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Adds a new element at the beginning of the container</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArray</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1e7e4ce08e0c57abb661a8f95192173e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e7e4ce08e0c57abb661a8f95192173e">&#9670;&nbsp;</a></span>shape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classnc_1_1_shape.html">Shape</a>&amp; <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::shape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>returns the number shape of the element arrays</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_shape.html" title="A Shape Class for NdArrays. ">Shape</a> </dd></dl>

</div>
</div>
<a id="a36da58aa8d2ba848746e744e82b87942"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36da58aa8d2ba848746e744e82b87942">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> <a class="el" href="classnc_1_1_data_cube.html">nc::DataCube</a>&lt; dtype &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the size of the container array</p>
<dl class="section return"><dt>Returns</dt><dd>size </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_data_cube_8hpp_source.html">DataCube.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenc.html">nc</a></li><li class="navelem"><a class="el" href="classnc_1_1_data_cube.html">DataCube</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
